package com.amit.spring.ioc;

public class Hello {
	
	private A aobj;
	private B bobj;
	
	
	public void setAobj(A aobj) {
		this.aobj = aobj;
	}


	public Hello(B bobj) {
		super();
		this.bobj = bobj;
	}
	
	
	public void show()
	{
		aobj.ShowA();
		bobj.ShowB();
	}
	

	
}
